<template>
  <div class="dashboard-editor-container">
    <panel-group></panel-group>

    <el-row :gutter="32">
      <el-col :xs="24" :sm="24" :lg="8">
        <div class="chart-wrapper">
          <device-pie-chart></device-pie-chart>
        </div>
      </el-col>
      <el-col :xs="24" :sm="24" :lg="8">
        <div class="chart-wrapper">
          <nested-pie-chart></nested-pie-chart>
        </div>
      </el-col>
      <el-col :xs="24" :sm="24" :lg="8">
        <div class="chart-wrapper">
          <power-pie-chart></power-pie-chart>
        </div>
      </el-col>
    </el-row>

    <el-row :gutter="32">
      <el-col :xs="36" :sm="36" :lg="12">
        <div class="chart-wrapper">
          <open-acti-line-chart></open-acti-line-chart>
        </div>
      </el-col>
      <el-col :xs="36" :sm="36" :lg="6">
        <div class="chart-wrapper">
          <open-way-line-chart></open-way-line-chart>
        </div>
      </el-col>
      <el-col :xs="36" :sm="36" :lg="6">
        <div class="chart-wrapper">
          <open-way-line-chart2></open-way-line-chart2>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import PanelGroup from './components/PanelGroup'
import OpenActiLineChart from './components/OpenActiLineChart'
import OpenWayLineChart from './components/OpenWayLineChart'
import OpenWayLineChart2 from './components/OpenWayLineChart2'
import DevicePieChart from './components/DevicePieChart'
import NestedPieChart from './components/NestedPieChart'
import PowerPieChart from './components/PowerPieChart'

export default {
  components: {
    PanelGroup,
    OpenActiLineChart,
    OpenWayLineChart,
    OpenWayLineChart2,
    DevicePieChart,
    NestedPieChart,
    PowerPieChart
  },
  data() {
    return {}
  },
  methods: {}
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
.dashboard-editor-container {
  padding: 32px;
  background-color: rgb(240, 242, 245);
  .chart-wrapper {
    background: #fff;
    padding: 16px 16px 0;
    margin-bottom: 32px;
  }
}
</style>
